import { defineStore } from 'pinia';
import { AppState } from './types';
import global from '@/global';

const useAppStore = defineStore('app',{
	state: (): AppState => ({ ...global }),
	getters: {
	    appInfo(state: AppState): AppState {
	      return { ...state };
	    },
	},
});

export default useAppStore;